package com.baosight.risk.service.riwa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIWA_EQUITY_INVEST_MAIN
 */
@Data
@ApiModel
@Table(name = "T_RIWA_EQUITY_INVEST_MAIN")
public class RiwaEquityInvestMain extends BaseEntity {

    /**
     * 合计盈利情况(%)
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    ROE
     * Nullable:  true
     */
    @ApiModelProperty("合计盈利情况(%)")
    @Column(name = "ROE")
    private BigDecimal roe;

    /**
     * 合计亏损面(%)
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    ROE_DESC
     * Nullable:  true
     */
    @ApiModelProperty("合计亏损面(%)")
    @Column(name = "ROE_DESC")
    private BigDecimal roeDesc;

    /**
     * 合计投资收益(%)
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    INVEST_DESC
     * Nullable:  true
     */
    @ApiModelProperty("合计投资收益(%)")
    @Column(name = "INVEST_DESC")
    private BigDecimal investDesc;

    /**
     * 合计跟踪管理(%)
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    TRACK_MANAGE
     * Nullable:  true
     */
    @ApiModelProperty("合计跟踪管理(%)")
    @Column(name = "TRACK_MANAGE")
    private BigDecimal trackManage;

    /**
     * 指标盈利情况(%)
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    TARGET_ROE
     * Nullable:  true
     */
    @ApiModelProperty("指标盈利情况(%)")
    @Column(name = "TARGET_ROE")
    private BigDecimal targetRoe;

    /**
     * 指标合计亏损面(%)
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    TARGET_ROE_DESC
     * Nullable:  true
     */
    @ApiModelProperty("指标合计亏损面(%)")
    @Column(name = "TARGET_ROE_DESC")
    private BigDecimal targetRoeDesc;

    /**
     * 指标合计投资收益(%)
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    TARGET_INVEST_DESC
     * Nullable:  true
     */
    @ApiModelProperty("指标合计投资收益(%)")
    @Column(name = "TARGET_INVEST_DESC")
    private BigDecimal targetInvestDesc;

    /**
     * 指标合计跟踪管理(%)
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    TARGET_TRACK_MANAGE
     * Nullable:  true
     */
    @ApiModelProperty("指标合计跟踪管理(%)")
    @Column(name = "TARGET_TRACK_MANAGE")
    private BigDecimal targetTrackManage;

    /**
     * 盈利情况预警结论
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    CONCLU_ROE
     * Nullable:  true
     */
    @ApiModelProperty("盈利情况预警结论")
    @Column(name = "CONCLU_ROE")
    private String concluRoe;

    /**
     * 投资收益预警结论
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    CONCLU_INVEST_DESC
     * Nullable:  true
     */
    @ApiModelProperty("投资收益预警结论")
    @Column(name = "CONCLU_INVEST_DESC")
    private String concluInvestDesc;

    /**
     * 跟踪管理预警结论
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    CONCLU_TRACK_MANAGE
     * Nullable:  true
     */
    @ApiModelProperty("跟踪管理预警结论")
    @Column(name = "CONCLU_TRACK_MANAGE")
    private String concluTrackManage;

    /**
     * 整体预警结论
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    WARNING_CONCLU
     * Nullable:  true
     */
    @ApiModelProperty("整体预警结论")
    @Column(name = "WARNING_CONCLU")
    private String warningConclu;

    /**
     * 所属单位
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @ApiModelProperty("所属单位")
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 所属单位名称
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @ApiModelProperty("所属单位名称")
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 所属部门
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    DEPT_CODE
     * Nullable:  true
     */
    @ApiModelProperty("所属部门")
    @Column(name = "DEPT_CODE")
    private String deptCode;

    /**
     * 所属部门名称
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    DEPT_NAME
     * Nullable:  true
     */
    @ApiModelProperty("所属部门名称")
    @Column(name = "DEPT_NAME")
    private String deptName;

    /**
     * 年度
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    ACCT_YEAR
     * Nullable:  true
     */
    @ApiModelProperty("年度")
    @Column(name = "ACCT_YEAR")
    private String acctYear;

    /**
     * 季度
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    QUARTER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("季度")
    @Column(name = "QUARTER_CODE")
    private String quarterCode;

    /**
     * 季度说明
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    QUARTER_NAME
     * Nullable:  true
     */
    @ApiModelProperty("季度说明")
    @Column(name = "QUARTER_NAME")
    private String quarterName;

    /**
     * 操作人编码
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    OPERATION_USER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("操作人编码")
    @Column(name = "OPERATION_USER_CODE")
    private String operationUserCode;

    /**
     * 操作人姓名
     * <p>
     * Table:     T_RIWA_EQUITY_INVEST_MAIN
     * Column:    OPERATION_USER_NAME
     * Nullable:  true
     */
    @ApiModelProperty("操作人姓名")
    @Column(name = "OPERATION_USER_NAME")
    private String operationUserName;

    private static final long serialVersionUID = 1L;
}